/*
	David Bray
	BrayWorth Pty Ltd
	e. david@brayworth.com.au

	This work is licensed under a Creative Commons Attribution 4.0 International Public License.
		http://creativecommons.org/licenses/by/4.0/
*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: sans-serif; }
html {
	position: relative;
	min-height: 100%;
}
ol, ul {
	margin-top: 0;
	margin-bottom: 10px;
	padding-left: 40px;
}
/*html, body { height: calc( 100%); }
*/

.group:after {
  content: "";
  display: table;
  clear: both;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
	font-size: 0;
  height: 0;
}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

body > .container, body > .container-fluid, body > .main-content-wrapper {
	/* Margin bottom by footer height */
	margin-bottom: 1.4em;
}

header {
	color: #fff;
	background-color: #2196F3;

}

	/* Set the fixed height of the footer here 2.4em; */
/*	height: 1.4rem; */
footer, .footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: #f5f5f5;
}

footer nav > ul, .footer nav > ul, .copyright {
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: normal;
}

footer nav > ul > li, .footer nav > ul > li, .copyright {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 3px;
    line-height: 20px;
    text-align: center;
}

.navbar-nav a { text-decoration: none; }
.navbar-nav > li > a {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* .navbar-brand, .navbar-nav > li > a { line-height: 1.42857143; } */
.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

/* .navbar-brand {
	padding-top: 0;
	font: normal 20px/1.42857143 'Permanent Marker', arial, sans-serif;
} */

@media screen and (max-width: 330px) {
	.navbar-brand {
		font-size: 16px;
/*		padding-top: 18px; */
	}
	.navbar-fixed-top {
		min-height: 50px;
	}

}
@media screen and (max-width: 767px) {
    .navbar-nav > li > a {
		padding-top: 10px;
		padding-bottom: 10px;}

	/* .navbar-brand, .navbar-nav > li > a { line-height: 50px; }	 */

	body > .container.with-nav-bar,
	body > .container-fluid.with-nav-bar,
	body > .main-content-wrapper.with-nav-bar {
		padding: 51px 15px 0;
	}

}
@media screen and (min-width: 450px) {
	.navbar-brand {
		font-size: 24px;
		/* padding-top: 12px; */
	}
}
@media screen and (min-width: 767px) {
	.navbar-brand {
		font-size: 24px;
		/* padding-top: 15px; */
	}

	.navbar-fixed-top { min-height: 60px; }

	/* .navbar-brand, .navbar-nav > li > a { line-height: 60px; } */

	body > .container.with-nav-bar,
	body > .container-fluid.with-nav-bar,
	body > .main-content-wrapper.with-nav-bar {
		padding: 65px 15px 0;
	}

}
@media screen and (min-width: 880px){
	.navbar-brand {	font-size: 32px; }
}
@media screen and (min-width: 980px){
	.navbar { font-size: 18px; }
	.navbar-brand {	font-size: 32px; }

	.navbar-fixed-top { min-height: 70px; }
	/* .navbar-brand, .navbar-nav > li > a { line-height: 70px; } */

	.navbar { margin-bottom: 0; }
	body > .container, body > .container-fluid.with-nav-bar,
	body > .main-content-wrapper.with-nav-bar {
		padding-top: 70px;

	}

}

@media screen and (min-width: 1100px){
	.navbar { font-size: 20px; }
	.navbar-brand {	font-size: 36px; }

	/* .navbar-brand, .navbar-nav > li > a { line-height: 80px; } */

/*	body > .container, body > .container-fluid, body > .main-content-wrapper {
		padding: 81px 15px 0;

	}
*/
}

footer > .container, .footer > .container {
	padding-right: 15px;
	padding-left: 15px;
}

code {
  font-size: 80%;
}

div#brayworthLOGO { text-align: right; font-size: 8pt; font-style: italic; color: silver; padding-bottom: 8px; padding-top: 8px; }
div#brayworthLOGO a {
	font-weight: bold;
	text-decoration: none;
	border-bottom: 3px solid yellow;
	color: black;
	margin-right: 8px;
}

.list-unstyled {
  padding-left: 0;
  list-style-type: none;
}
.list-unstyled.list-pad-left { padding-left: 10px; }

.ui-menu-item a { padding: 1px 4px 1px 1px; }
.ui-menu-item .menu-item-separator { margin: .5em 0;
	border-top:1px solid rgba(33, 150, 243, 0.65);
	border-bottom: 1px solid #607d8b; }
.ui-menu-blank::before {
    content:url('icon-blank-16x16.gif')
}

.user-avatar { width: 60px; border: 1px solid silver; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.pull-left { float: left !important; }
.center { margin: auto; }
.pull-right { float: right !important; }

.table-centered {
	margin: 0 auto !important;
	float: none !important;
	width: inherit;
}

.nav-tabs>li>a,
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    border: 1px solid #ddd;
    border-bottom-color: transparent
}

table.edit tbody tr td,
	table.edit tbody tr th,
	table.view tbody tr td,
	table.view tbody tr th { padding: 4px 4px 4px 1px; }
table.edit tbody tr th,
	table.view tbody tr th,
	table.view tbody tr td div.as-th,
	table.edit thead tr td,
	table.view thead tr td { font-size: 0.7em }
table.edit tbody tr td, table.view tbody tr td { font-size: 1.2em }
/*table.edit input[type="text"], input[type="password"],
	table.edit select {  padding: 6px; }
*/
table.report td, table.report th { padding: 4px }
table.ReportInAButton td, table.report th { padding: 0px }
thead tr, .thead tr { vertical-align: bottom; }
thead tr td, .thead tr td { background-color: #d8d8d8; }
thead tr td table tbody tr td { background-color: transparent; }
thead tr:last-child td, .thead tr:last-child td { border-bottom: 1px solid #000; }
thead tr:last-child td table tbody tr td { border-bottom: none; }
thead tr.noborder td table tbody tr.noborder td { border-bottom: none; }
.report tbody tr td, .report .tbody tr td { border-bottom: 1px solid #f0f0f0; }
.report tbody.nolines tr td,
	.report tbody tr.noborder td { border-bottom: none; }
.report tfoot tr:first-child td, .report .tfoot tr:first-child td { border-top: 3px solid black; }
.report tfoot tr:last-child td, .report .tfoot tr:last-child td { border-bottom: 1px solid black; }

thead tr td, .thead tr td { font-size: .8em; }
thead tr td table tbody tr td { font-size: .8em; }
.report tbody tr td, .report .tbody tr td { font-size: 0.7em; }
input[type="text"].datepicker { width: 7em; }

@media screen and (max-width: 767px){
	.content-secondary {
		text-align: left;
		padding: 20px 4% 40px 4%;
		background: none;
		position: relative;
	}
	div[data-role="content-primary"] { padding-bottom: 35px; }
	.content-primary {
		padding: 5px 1% 35px 5px;
		position: relative;
	}

}
@media screen and (min-width: 768px){
	.content-secondary {
		text-align: left;
		float: right;
		border-left: 1px solid #ececec;
		display: block;
		padding: 2em 2em 0 1em;
		background: none;
		border-top: none;
		position: relative;

	}
	div[data-role="content-primary"] { padding-bottom: 20px; }
	.content-primary {
		display: inline-block;

	}

}

@media screen and (min-width: 768px) and (max-width: 991px) {
	.content-secondary {
		width: 30%;
	}

	div[data-role="content-primary"] { padding-bottom: 20px; }
	.content-primary {
		width: 70%;
		padding: 5px 5px 20px;
	}

}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	.content-secondary {
		width: 25%;
		padding-right:4%;
	}
	div[data-role="content-primary"] { padding-bottom: 35px; }
	.content-primary {
		width: 75%;
		padding: 0 2% 35px 1%;
	}
}

@media screen and (min-width: 1200px){
	.content-secondary {
		width: 24%;
		padding-right:4%;
	}
	div[data-role="content-primary"] { padding-bottom: 35px; }
	.content-primary {
		width: 76%;
		padding: 0 2% 35px 1%;
	}
}

.tile {
	font: normal 1.2em/1.42857143 'Permanent Marker', arial, sans-serif;
	text-align: center;
	height: 3em;
	padding: 1em .2em;
}
.tile-alt { background-color: #fff; }
.tile-alt > a { color: #000 }
.tile-on { background-color: #1995dc; }
.tile-on > a { color: #fff }

/* Featurettes
------------------------- */

.featurette {
	padding: 8px 10px; /* Space out the Bootstrap <hr> more */
}

.featurette-divider {
	margin: 30px 0; /* Space out the Bootstrap <hr> more */
}

.featurette-image { max-width: 30%; }

/* Thin out the marketing headings */
.featurette-heading {
	  font-weight: 300;
	  line-height: 1;
	  letter-spacing: -1px;
}

blockquote {
    font-style: italic;
    line-height: 1.45;
    position: relative;
	padding-left: 40px;
}

/*
blockquote:before {
    display: block;
    padding-left: 10px;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -20px;
    top: -20px;
    color: #7a7a7a;
} */

blockquote cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

blockquote cite:before {
    content: "\2014 \2009";
}

th {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.wait { cursor: wait; }

pre { padding: 10px 20px }
